Configure the Run-time Environment

About this task

Configure the run-time environment to define generic configuration settings for CLI sessions.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Change the login prompt:

    login-message WORD<1-1513>

  3. Change the password prompt:

    passwordprompt WORD<1-1510>

  4. Configure the number of supported inbound Telnet sessions:

    telnet-access sessions <0-8>

  5. Configure the idle timeout period before automatic logoff for CLI and Telnet sessions:

    cli timeout <30-65535>

  6. Configure the number of lines in the output display:

    terminal length <8–64>

  7. Configure scrolling for the output display:

    terminal more <disable|enable>

Examples

Switch:1>enable
Switch:#configure terminal

Use the default option to enable use of the default logon string:

Switch:(config)#default login-message

Use the default option before this parameter to enable use of the default string:

Switch:(config)#default passwordprompt

Configure the allowable number of inbound Telnet sessions:

Switch:(config)#telnet-access sessions 8

Configure the timeout value, in seconds, to wait for a Telnet or CLI login session before terminating the connection:

Switch:(config)#cli timeout 900

Configure the number of lines in the output display for the current session:

Switch:(config)#terminal length 30

Configure scrolling for the output display:

Switch:(config)#terminal more disable

Variable Definitions

The following table defines parameters for the login-message command.

Variable

Value

WORD<1-1513>

Changes the CLI logon prompt.

The following table defines parameters for the passwordprompt command.

Variable

Value

WORD<1-1510>

Changes the CLI password prompt.

The following table defines parameters for the telnet-access sessions command.

Variable

Value

<0-8>

Configures the allowable number of inbound Telnet sessions. The default value is 8.

The following table defines parameters for the cli time-out command.

Variable

Value

<30-65535>

Configures the timeout value, in seconds, to wait for a Telnet or CLI login session before terminating the connection.

The following table defines parameters for the terminal command.

Variable

Value

<8–64>

Configures the number of lines in the output display for the current session. The default is value 23.

disable|enable

Configures scrolling for the output display. The default is enabled.